package com.zzx.utils;

public class BaseUtil {
    public static boolean isUpload(String name){
        if(name.contains("mavenimport")&&name.endsWith(".sh")){
            return false;
        }else if(name.contains("archetype-catalog.xml")){
            return false;
        }else if(name.contains("maven-metadata-local")&&name.endsWith(".xml")){
            return false;
        }else if(name.contains("maven-metadata-deployment")&&name.endsWith(".xml")){
            return false;
        }else {
            return true;
        }
    }
}
